package com.company.demo.dao;

import com.company.demo.bean.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


//注解
@Mapper
public interface IStudentDao {

    void  insertStudent(Student student);

    //查询
    @Select("select * from student")
    List<Student> selectAllStudent();
}